package club.kingon.basic.basic.grammar;

/**
 * Number Learn's Main
 * @author: Kingon
 * @Date: 2019/11/3
 * @Environment: JDK1.8
 **/
public class NumberLearning {
    public static void main(String[] args) {
        // WARN: if u want to run success.please delete CharLearning.class 24th line !!!
        //Defined a normal byte number
        byte byteNormalNumber = 111;
        //Defined a normal short number
        short shortNormalNumber = 22222;
        //Defined a normal int number
        int intNormalNumber = 333333333;
        //Defined a normal long number
        long longNormalNumber = 4444444444444444444L;
        //Output to check
        System.out.println(byteNormalNumber);
        System.out.println(shortNormalNumber);
        System.out.println(intNormalNumber);
        System.out.println(longNormalNumber);
        int oneMillion = 1_000_000;
        System.out.println(oneMillion);
        //Extends
        //Can u try to set number more their scope,and then look the result?
    }
}
